/**
 * 设备实体类
 */
class DeviceEntity {
  int? ID;
  String? name;
  String? number;
  String? contractNO;
  String? endDate;
  String? qualityDate;
  int qualityIsBuy = 0;
  String? qualityDays;
  String? offLineDays;
  String? pointer;
  String? remark;
  String? service1;
  String? service2;
  String? service3;
  String? service4;
  String? service5;
  String? service6;
  String? service7;
  String? service8;
  String? service9;
  String? service10;
  String? sequence;
  String? type;
  String? standby1;
  String? standby2;
  String? area;
  String? power1;
  String? time1;
  String? power2;
  String? time2;
  //选中的item
  int selectIndex = 0;
  //设备是否在线
  bool isOnline = false;
  //选中 0.实时曲线 1.前90分钟 2.历史曲线
  int itemType = 0;

  DeviceEntity(
      this.ID,
      this.name,
      this.number,
      this.contractNO,
      this.endDate,
      this.qualityDate,
      this.qualityIsBuy,
      this.qualityDays,
      this.offLineDays,
      this.pointer,
      this.remark,
      this.service1,
      this.service2,
      this.service3,
      this.service4,
      this.service5,
      this.service6,
      this.service7,
      this.service8,
      this.service9,
      this.service10,
      this.sequence,
      this.type,
      this.standby1,
      this.standby2,
      this.area,
      this.power1,
      this.time1,
      this.power2,
      this.time2);

  @override
  String toString() {
    return name.toString();
  }
}
